package middleware

import (
	"github.com/google/wire"
	"kf/middleware"
)

var MidSet = wire.NewSet(
	wire.Struct(new(middleware.IpBlack), "*"),
	wire.Struct(new(middleware.Rbac), "*"),
	wire.Struct(new(middleware.LoggerSave), "*"),
	wire.Struct(new(middleware.MidLogger), "*"),
	wire.Struct(new(middleware.Err), "*"),
)

type MidAggregate struct {
	IpBlack    *middleware.IpBlack
	Rbac       *middleware.Rbac
	LoggerSave *middleware.LoggerSave
	MidLogger  *middleware.MidLogger
	Err        *middleware.Err
}
